package com.rags.chess.pieces;

import com.rags.chess.base.Color;
import com.rags.chess.base.Coordinate;
import com.rags.chess.base.Piece;
import com.rags.chess.game.Game;

public class Knight extends Piece {
	public Knight(Color color, Coordinate position) {
		super(color, position, 3, "N");
	}

	@Override
	public boolean isValidMove(Game game, Coordinate destination) {
		return ValidMoveHelper.isValidMoveKnight(game, getPosition(), destination);
	}
}
